//
//  MyCollectionViewCell.m
//  UI23_Work ali
//
//  Created by dllo on 16/8/15.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "MyCollectionViewCell.h"

@interface MyCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *singerNameLabel;
@property (weak, nonatomic) IBOutlet UIImageView *picImageView;
@property (weak, nonatomic) IBOutlet UILabel *musicNameLabel;



@end

@implementation MyCollectionViewCell

- (void)setSec:(SecData *)sec {
    _sec = sec;
    [self.picImageView setImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:self.sec.picUrl]]]];
    self.musicNameLabel.text = self.sec.name;
    self.singerNameLabel.text = self. sec.desc;

}

@end
